package com.cxl.demo.mapper;

import com.cxl.demo.vo.RecordCondition;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface RecordConditionMapper {
    @Select("select * from recordcondition")
    List<RecordCondition> getConditionList();
    @Select("select * from recordcondition where recordConditionId=#{recordConditionId}")
    RecordCondition getConditionById(Integer recordConditionId);

}
